home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / virus / vs / installvs < prev    next >
Text File  |  1996-02-26  |  4KB  |  197 lines

  1. ; $VER: Install VirusScanner V0.1 (8 June 1994)
  2. ; Done on the skeleton of the VirusChecker install script ;-)
  3.  
  4. ; ask where to install VS
  5. (tackon "RAM:" "VSInstall.log")
  6. (set ver (/(getversion "libs:locale.library") 65536))
  7. (complete 0)
  8.  
  9. (set @default-dest
  10. (askdir
  11.    (prompt "Please select the Directory where you would like to install"
  12.            " Virus Scanner. ")
  13.    (help @askdir-help)
  14.    (default "SYS:wbstartup/")
  15.    )
  16. )
  17. (complete 2)
  18. (
  19. (working "Installing Virus Scanner Program")
  20. (copyfiles
  21.     (prompt "")
  22.     (help @copyfiles-help)
  23.     (source "VS")
  24.     (dest @default-dest)
  25.     (infos)
  26. )
  27. (complete 15)
  28.  
  29. (copyfiles
  30.     (prompt "Would you like to install an 8 color (MagicWB style) Icon for VS")
  31.     (help "Use this only if you have an 8 color Interlaced or scan doubled WB")
  32.     (source "VS8colors.info")
  33.     (newname "VS.info")
  34.     (dest @default-dest)
  35.     (confirm)
  36. )
  37. (complete 17)
  38.  
  39. ;(set _prefs
  40. ;    (exists "vscan.prefs" (noreq))
  41. ;)
  42. ;(if _prefs
  43. ;    (copylib
  44. ;        (prompt "")
  45. ;        (help @copylib-help)
  46. ;        (source "vscan.prefs")
  47. ;        (dest "s:")
  48. ;    )
  49. ;    (copylib
  50. ;        (prompt "")
  51. ;        (help @copylib-help)
  52. ;        (source "s/vscan.prefs")
  53. ;        (dest "s:")
  54. ;    )
  55. ;)
  56.  
  57. (copyfiles
  58.     (prompt "Would you like to install the documentation for Virus Scanner "
  59.             "in amigaguide format and the Wanted files.")
  60.     (help @copyfiles-help)
  61.     (all)
  62.     (source "docs/")
  63. ;    (choices "VirusScanner.guide" "WantedViruses" "WantedCrunchers")
  64.     (dest @default-dest)
  65.     (confirm)
  66.     (infos)
  67. )
  68. (complete 35)
  69.  
  70. (if ver
  71. (copyfiles
  72.     (prompt "Would you like to install one or more of the following "
  73.             "translation of Virus Scanner")
  74.     (help "If you prefer one of the available languages you can use VS"
  75.         " in that language copying the right translation and setting "
  76.         "the language on the preferences.")
  77.     (all)
  78.     (source "catalogs/")
  79.     (dest "locale:catalogs/")
  80.     (confirm)
  81. )
  82. )
  83. (complete 45)
  84.  
  85. (copyfiles
  86.     (prompt "Would you like to install the files to build new VS translations.")
  87.     (help "This is needed only if you plan to build the translation of Virus Scanner "
  88.         "in other languages, if you finish a catalog send it to me for "
  89.         "the inclusion in the distribution at one of the following E-Mail adresses:\n" 
  90.         "gabry@grifone.skylink.aare.net.ch\n" "2:331/106.7@fidonet.org\n"
  91.         "or by snail mail:\nGabriele Greco\nVia Banchi 12\n16030 Uscio (GE)\nItaly")
  92.     (all)
  93.     (source "NewTranslations/")
  94.     (dest @default-dest)
  95.     (confirm)
  96. )
  97. (complete 47)
  98.  
  99. (copyfiles
  100.     (prompt "Would you like to install in your C directory fuckchecker, "
  101.             "a little program to add to your startup?.")
  102.     (help @copyfiles-help)
  103.     (source "FuckChecker")
  104.     (dest "c:")
  105.     (confirm)
  106. )
  107. )
  108. (complete 50)
  109.  
  110. (working "Installing Needed Libraries")
  111. (set lib
  112.     (exists "unpack.library" (noreq))
  113. )
  114. (if lib
  115.     (copylib
  116.         (prompt "")
  117.         (help @copylib-help)
  118.         (source "unpack.library")
  119.         (dest "libs:")
  120.     )
  121.     (copylib
  122.         (prompt "")
  123.         (help @copylib-help)
  124.         (source "libs/unpack.library")
  125.         (dest "libs:")
  126.     )
  127. )
  128. (complete 70)
  129.  
  130. (set lib
  131.     (exists "removelink.library" (noreq))
  132. )
  133. (if lib
  134.     (copylib
  135.         (prompt "")
  136.         (help @copylib-help)
  137.         (source "removelink.library")
  138.         (dest "libs:")
  139.     )
  140.     (copylib
  141.         (prompt "")
  142.         (help @copylib-help)
  143.         (source "libs/removelink.library")
  144.         (dest "libs:")
  145.     )
  146. )
  147. (complete 80)
  148.  
  149. (set lib1
  150.     (exists "Bootblock.library" (noreq))
  151. )
  152. (if lib1
  153.     (copylib
  154.         (prompt "")
  155.         (help @copylib-help)
  156.         (source "Bootblock.library")
  157.         (dest "libs:")
  158.     )
  159.     (copylib
  160.         (prompt "")
  161.         (help @copylib-help)
  162.         (source "libs/Bootblock.library")
  163.         (dest "libs:")
  164.     )
  165. )
  166. (complete 90)
  167.  
  168. (set lnam
  169.     (exists "Bootblock.brainfile" (noreq))
  170. )
  171. (if lnam
  172.     (copylib
  173.         (prompt "")
  174.         (help @copyfiles-help)
  175.         (source "Bootblock.brainfile")
  176.         (dest "L:")
  177.     )
  178.     (copylib
  179.         (prompt "")
  180.         (help @copyfiles-help)
  181.         (source "l/Bootblock.brainfile")
  182.         (dest "L:")
  183.     )
  184. )
  185. (complete 95)
  186.  
  187. (startup @app-name
  188.     (prompt "Shall I add Virus Scanner to your s:startup-sequence"
  189.         "/s:user-startup so that it will be run each time"
  190.         " you turn your Amiga on")
  191.     (help @startup-help)
  192.     (command "VS")
  193. )
  194. (complete 100)
  195.  
  196. (exit)
  197.